package com.sishu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sishu.pojo.Cardlibrary;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface CardlibraryMapper extends BaseMapper<Cardlibrary> {


    //按类型查询卡片库
    @Select("select * from cardlibrary where card_type = #{cardType}")
    List<Cardlibrary> selcetbycardtype(String cardType);

    //按类型查询卡片库
    @Select("select * from cardlibrary where card_type = #{cardType}")
    List<Cardlibrary> selcetbycardtype2(String cardType);

}
